package com.xin.di.uav.applet.resp;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class DeliveryPointsResp {

    private int total = 0;

    private List<Record> recordList = new ArrayList<>();

    @Data
    public static class Record {

        private String id;

        private String name;

        private BigDecimal latitude;

        private BigDecimal longitude;

        @NotNull(message = "配送方纬度不能为空")
        private BigDecimal senderLatitude;
        @NotNull(message = "配送方经度不能为空")
        private BigDecimal senderLongitude;

        private Integer status;

        private BigDecimal expressFee;

        private Date createTime;

        private Date updateTime;

        private String scenicSpotId;


        private String serviceAreasId;

        private String serviceAreasName;
    }
}
